package cn.shop.transcation.alipay.entity;

import cn.shop.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author : 李一涵
 * @date : Created in 2022-3-18
 * @description :
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class AlipayAccount extends BaseEntity {

    /** 所属人编号 */
    private Long ownerId;
    /** 支付宝账号 */
    @NotNull
    private String account;
    /** 支付宝姓名 */
    @NotNull
    private String name;

}
